//
// Created by shen on 2025/1/9.
//

#ifndef VIDEOEDIT_SLOG_H
#define VIDEOEDIT_SLOG_H

#include "platform.h"
#define TAG "Shen"
#include "spdlog/sinks/android_sink.h"
/**
 * android 日志库
 */


using namespace std;
class SLog {

public:
    static std::shared_ptr<SLog> GetInstance();
    SLog(const SLog &single) = delete;
    const SLog &operator=(const SLog &single) = delete;
     std::shared_ptr<spdlog::logger> getLogger(){
        return logger;
    }
    SLog();
    ~SLog();
private:
    shared_ptr<spdlog::logger> logger;
};


#endif //VIDEOEDIT_SLOG_H
